package com.zzxz.practicaltrainingsys.vo;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Date;

@Data
public class ViewNotice {
    private Integer notice_id;
    private String notice_name;
    private String notice_content;

    // 修复：将 java.sql.Date 改为 java.util.Date 以支持时间部分
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private java.util.Date notice_time;  // 修改这里

    private Integer project_id;

    private Integer teacher_id;
    private String teacher_image;
    private String teacher_password;
    private String teacher_name;
    private String teacher_phone;
    private String teacher_sex;
    private String teacher_email;
    private String teacher_education;
    private String teacher_idcard;
    private Date teacher_worktime;

    private String project_name;
    private String project_image;
    private String project_introduction;
    private java.util.Date project_start;
    private java.util.Date project_end;
    private Integer school_id;
    private Integer college_id;
    private Integer grade_id;
    private Integer major_id;
    private Integer topic_id;

    private java.util.Date create_time;
    private String project_note;
}